<div xmlns="http://www.w3.org/1999/xhtml"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     class="table_header">

    <div class="opaque padding1">
            <div class="right header">
            <h:outputLink title="#{msgs['firstPage']}" disabled="#{!paginationBean.firstPageEnabled}">
                    <f:param name="page" value="#{paginationBean.firstPageValue}"/>
                    <span>#{msgs['firstPage']}</span>
                </h:outputLink >
            <h:outputLink title="#{msgs['previousPage']}" disabled="#{!paginationBean.previousPageEnabled}">
                    <f:param name="page" value="#{paginationBean.previousPageValue}"/>
                    <span>#{msgs['previousPage']}</span>
                </h:outputLink >
                <ui:repeat value="#{paginationBean.pageNumList}" var="item" varStatus="index">
                <h:outputLink title="#{item}" styleClass="#{item == paginationBean.currentPage ? 'current' : ''}" disabled="#{item == paginationBean.currentPage}">
                        <f:param name="page" value="#{item}"/>
                        <span>#{item}</span>
                    </h:outputLink >
                </ui:repeat>
            <h:outputLink title="#{msgs['nextPage']}" disabled="#{!paginationBean.nextPageEnabled}">
                    <f:param name="page"
                             value="#{paginationBean.nextPageValue}"/>
                    <span>#{msgs['nextPage']}</span>
                </h:outputLink >
            <h:outputLink title="#{msgs['lastPage']}" disabled="#{!paginationBean.lastPageEnabled}">
                    <f:param name="page" value="#{paginationBean.lastPageValue}"/>
                    <span>#{msgs['lastPage']}</span>
                </h:outputLink >
            </div>
        <h:outputFormat value="#{msgs['showInfo']}">
            <f:param value="#{paginationBean.startRecord}"/>
            <f:param value="#{paginationBean.endRecord}"/>
            <f:param value="#{paginationBean.totalRecord}"/>
        </h:outputFormat>
    </div>
</div>